home *** CD-ROM | disk | FTP | other *** search
/ MacFormat España 20 / macformat_20.iso / mac / Shareware / Comunicaciones / PPP_PrefSaver 1.2 / C Source / PPP_PrefSaver History.c < prev    next >
Text File  |  1996-06-29  |  3KB  |  52 lines

  1. /* PPP_PrefSaver History */
  2.  
  3. /*
  4.     1.0  Initial Release - Never really made public, except among a few individuals.
  5.     ----------------------------------------------
  6.     Correction in 1.0.1:
  7.     The dialog item numbers for the account name and password
  8.     were corrected to the appropriate item numbers.  The numbers changed in the process
  9.     of editing the dialog and I didn't spot it.
  10.  
  11.     Changes in 1.0.1:
  12.     The resources for the dialogs and alerts were changed to fit specifications
  13.     given in the InstallerMaker 3.0 users guide.
  14.     ----------------------------------------------
  15.     Added in 1.1:
  16.     Option to save account name/password into the Authentication settings
  17.     instead of in a connect script.  Also added #define NAME_COMMAND and PWORD_COMMAND
  18.     k-onstants to select fields of connect script to write to.
  19.     
  20.     Corrections in 1.1:
  21.     SimpleModalFilter was fixed to correctly prevent users
  22.     from entering illegal characters.
  23.     Added check to make sure OK button is actually enabled before making a carriage
  24.     return into a hit on the OK button in SimpleModalFilter().
  25.     ----------------------------------------------
  26.     New in 1.2:
  27.     A custom resource with a corresponding template, called an 'ISPc' was added
  28.     to allow the program to be configured by anyone using ResEdit, instead of having to
  29.     make changes in the code and recompile.
  30.     
  31.     The 'ISPc' resource ID#3000 in the resource file included with this project
  32.     is a struct with fields that let you determine the following:
  33.     short        thisIsADemo;        // True = Do not actually save any info in PPP Preferences
  34.     short        useConnectScript;    // True = Save name/password in connect script fields
  35.                                     //    False = Save in Authentication fields
  36.     short        accountNameField;    // If using script, which field (0-7) for account name?
  37.     short        passwordField;        // If using script, which field (0-7) for password?
  38.     short        acctName_AllowCaps;    // True = allow uppercase chars in name field
  39.     short        acctNameLen;        // How many chars are allowed in name field?
  40.     short        pWord_AllowCaps;    // True = allow uppercase chars in password field
  41.     short        passwordLen;        // How many chars are allowed in password?
  42.     
  43.     Code was added to support the additional functionality needed to support this.
  44.     
  45.     Corrections and Changes in 1.2:
  46.     Command key edit commands could be used previously due to handling through
  47.     ModalDialog.  Now those edit commands, like CMD-V to Paste, are disabled.
  48.     
  49.     Resulting field lengths are now correctly calculated and handled when characters are
  50.     highlighted and a key is pressed.
  51.     
  52. */